package org.example.mybatis3.entity.blog;

import lombok.Data;

import java.util.List;

@Data
public class Blog {
    private Integer id;
    private String title;
    private Integer authorId;
    private Integer coAuthorId;

    private Author author;
    private Author coAuthor;

    private List<Post> posts;
}
